USE [master]


USE [master]
GO
ALTER DATABASE [$(databaseName)] SET  SINGLE_USER WITH ROLLBACK IMMEDIATE
EXEC master.dbo.sp_detach_db @dbname = N'$(databaseName)'
GO
